update description for algo options
move repeated code from astar/bidirectional to parent