algos 2.0 initialized; old reduction code, using lists, ported from original algos