find next node in BST