Straighten out random bits.