Finish binary_heap.