Move cost as Terrain parameter, support for impassable terrain.