Updated shift constant to work on Pi