Modify a bug code on module of dinic.