Path-planning algorithms in high-dimensional spaces