only make reference sets for groups with at least 100 members
a bit of code cleaning