Assign this variable outside of the for( deltas ) loop so it isn't calculated each time.