bzip2: checksum implementation and less memory footprint