Added method for step 1 of the optimisation (shrink PH inside the range)