added mid test
added unfold metod
added mincut count