pathfind: use nearest route

Allow multiple path entry points and choose the fastest one

Signed-off-by: mkhropov <mkhropov@gmail.com>