Prompt for max_dist in interactive mode. Issue #173