Fix heapmap iteration logic. Bootstraps again. Still uses too much memory.