added support for random vertex cuts