LCA tree