Replaced geometric_sum with arithmetic_sum