marginally better performance by ending sum calcuations at 28123