If envelope limits turn out to be prohibitive, add a mechanism to the span buffer to flush early if we detect we've accumulated >= \~1 MB of spans.