Improved Distance Command.