Changed checksum calculation to high speed version