The MSL translation of the prefix example had its bindings permuted; a flag prevents this (but, as is typical for shader translation, potentially creates other problems). Also use explicit unsigned literal to avoid DXC warnings.
Do a tree reduction in addition to the existing decoupled look-back, to explore the tradeoff between performance and compatibility.