Optimized fast CRC routine to be shorter and faster.