working heaps