Calculating path returns not optimal one, but ordering agent to move ...

Calculating path returns not optimal one, but ordering agent to move ...