fixed bug in rolling checksum algo.