Update length parameters.

Break up length into MSB and LSB variables.