improved distance estimates, fixed multi-user bug