Reduced amount of accessor calls and method calls in calculation method.