a heap with good amortized running times