Add checkLine possibility function (throw pass cells)
Optimise unit path finding.