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