hashRing algorithm(by hash range) implementation