forked from: line fastest a* search path

