It turns out to be much faster to build a single buffer and emit that