added two more layouts. 12 is promising
redefining distance