new heap with tables