Heap speedup - simulate remove operation