add maxnetworkflow algorithm