the application of max flow, very good