Change amount to shift_amount in machine.