Kargers mincut problem