bst and min_heap