find closest bst node