I think that's one step too far. Specifically, getting rid of a descriptive scalar in favor of lumping all the values together and using
shift. I don't see any advantage in performance or clarity.
Caution: Contents may have been coded under pressure.