md5 mod n calculation done