Pass directly variable 'a' to interp instead of evaluating it from num_blocks