Added max flow.