Finalized MinHeap.