finish maximum flow algorithm