fn nonempty_band<'a, Leafs>(leafs: Leafs) -> Option<SmallVec<[&'a EventId; 1]>>where Leafs: Iterator<Item = &'a EventId>,