finish path_finding; fix single-thread Solve(); compilable.