removed unused heapify method