Consistent hashing implementation in clojure