efficient accumulator