Nearly Lossless Adaptive Bit Switching