fix maxflow : Data structure changed to edge-based