fn make_stages(
    ts: &mut ControlTrafficSignal,
    map_config: &MapConfig,
    i: &Intersection,
    stage_specs: Vec<Vec<(Vec<RoadID>, TurnType, bool)>>
)