adding massHeap