Palette own layer optimization