modified bench_heaps