move BST to search