Figure 44.
Ternary and Binary versions of the ups