fixed a few bugs. only updates the right block when the heap is saturated.