Align groups of elements into a circle