pub fn split_operations(
    operations: Vec<Operation>
) -> impl Iterator<Item = Vec<Operation>>