finally make mdht work via a better distributed algorithm