Improve CBC bit flipping section