thread pool. path finding.