changed LSB to MSB