Implement castling for variant CRC