ensuring that mtree and heaps have same membership