modified rubost dinic