added calculation of required accumulators
checkstyle