init version of heap