Update hashing.py

switching to 0xffff instead of SMALL_HASH_MAX