init max_heap