Previously we only did folds if had only had two total binops, but the
concept can be applied arbitrarily. The only thing that changes is
some shortcuts we made in the two total binop case with and are no
longer applicable.
This further helps with: D151807