Remove right and left bits.