minheap by array