added min-cut