fn fold_zero_side( spans: &[Span], buckets: &[f64], schema: i32, zero_threshold: f64, ) -> Option<(Vec<Span>, Vec<f64>, f64)>