apply out of order segment change to the right place