new HashHeap template