Adjust distances