H&K #1 @neilo, wouldnt you be better to store the end point values in two locals, so as not to need to calculate them twice?