remove paletteSize