Added accumulate util.