Added LCA using heavy-light decomposition