changed palette build order