The grouping algorithm is now working