Shouldn't it be Mod (2^16-1)