Wrote most of the heap