Changed Move encoding method