Allow arbitrary number of columns in discrete palettes