handling categories less than available number of colorbrewer options