failure to implement mincut correctly