dfs, subsets