[Olena-patches] r3571: Add inf, sup accumulator and accu_result function