This was my first thought, depends on the task/constraints, but yeah; I too look for the shortest path when the circumstances are right.