Consistent hashing code ripped-out of riak_core