Get groups of as much as possible