more resilience when calculating road sort key