add a consistent hashing utils.