added reverse bits in an unsigned integer