Added a min-heap