merging small groups