dynamic filling of palette and deco rotation