finish BST