Modify calculation of ring-hash for the worker