distance correction, pathfind perf with huge speed