pub fn finalize_transit(map: &mut Map, raw: &RawMap, timer: &mut Timer<'_>)