Un-hard-coded the color layout shape-array dims