pub fn get_active_segments() -> Vec<u32>