better logging, swapping of stretches in intersection