Fork of Amir Salihefendic's hash_ring which works with tuple as key.