LPS-51313 Only need to calculate the most significant byte once