Improved mid-heap removal.