handled minHeap starting at index of 1