the first realization of the heap.