lca, segment tree