random_assignment_vector has maxgroups now