use erlang:phash2 for hashing terms