A little bit simplified MaximumBinaryHeap.