bitwise corrections