fixed palette length