Improving automatic search for the best th on the rp

Now the golden search tries another interval when
it gets locked on a number