limit max number of raster symbol items in legend (may be very slow), resolves slow loading of rasters with large color tables