consistent hash implemented