fixing hashcode from unchecked to usual op, almost there for c compilation