Improve determination of own path.