lca dfs