spacing and grouping by similarity\!