Changed name of a function in Dinic's algorithm.