fixes adding more terms by changing the scale upper limit