preparation for enforced state switch based on distance to crossing