finish dfs surrounded region