pub fn get_num_unpairs_multibranch( x: &(usize, usize), y: &Vec<(usize, usize), Global>, z: &[usize] ) -> usize