finish bst_set