Added more communication between dfs phases