check if no group with cardinality 2