Thanks for playing! I will add more content :)
The logic to check all items are grouped is made by checking distance between items of the same type.