Fix cross-track distance