fixed HeapTree.java