update BuildingHeap.java