Changed MinHeap.