Ported old SUMMA code into new DistEval implementation. This breaks sparse contractions.