Halver remembers the so far best y value and sets the x accordingly when it is finished