Slight change to how nav costs are calculated through terrain to avoid loss of precision.