ENH: Simplified code for CRC check