Heap passed to compile_ast
Correct compilation of loop counters, in combination with assigments