finish bin_tree