optimized the delta reduction step.