Further improved mid-heap removal.