heap: fix Code allocation
0.10.2