Consistent hash from Google's guava library