maxHeapify added