Fred: remove calculation of advance_y

Not needed any more