Added method for step 3 of the optimisation (stretch PH curve to fully use the range)