change adler32  algorithm