Fixed a bug on MaxFlowMinCut.js