A switching policy for a pair of intersections