pub fn set_first_none_null<T, I>(iter: &mut I, out: &mut Vec<T>) -> usize where
    T: Float + AddAssign,
    I: Iterator<Item = Option<T>>,