Grouping holes by diameter