Add ordered-triples-sum