lca with BST