Rough grouping and separation