This can be a bit more efficient if you write it out as its own block, since it's a `flatten(1)`, you just check if the result of yielding is an array, and if yes concat instead of `<<`.