max flow done