optimize common alpha and tlut command shuffle codes