fix for mincut
findMinCutCount