         var triangle_bound: Rect?
         var quadratic_bound: Rect?
         var cubic_bound: Rect?
+        var _bound: Rect?
         
         var triangle_render_buffer: MappedBuffer<(GPPoint, GPPoint, GPPoint)> = []
         var quadratic_render_buffer: MappedBuffer<(GPPoint, GPPoint, GPPoint)> = []

                    let q2 = p2 * transform
                    
                    quadratic_render_buffer.append((GPPoint(q0), GPPoint(q1), GPPoint(q2)))
                    quadratic_bound = quadratic_bound?.union(Rect.bound([q0, q1, q2])) ?? Rect.bound([q0, q1, q2])
                    
                    if quadratic_render_buffer.count >= stencil_buffer_limit {
                        try render_quadratic(width: width, height: height, bound: quadratic_bound ?? Rect(), buffer: quadratic_render_buffer, output: output)
                        quadratic_render_buffer = []
                    }
                    

                    let q2 = p2 * transform
                    
                    cubic_render_buffer.append((GPPoint(q0), GPPoint(q1), GPPoint(q2), GPVector(v0), GPVector(v1), GPVector(v2)))
                    
                    let __bound = Rect.bound([q0, q1, q2])
                    cubic_bound = cubic_bound?.union(__bound) ?? __bound
                    _bound = _bound?.union(__bound) ?? __bound
                    
                    if cubic_render_buffer.count >= stencil_buffer_limit {
                        try render_stencil(width: width, height: height, pipeline: "stencil_cubic", bound: cubic_bound, buffer: cubic_render_buffer, output: output)
                        cubic_bound = nil
                        cubic_render_buffer = []
                    }
                }
            }
        }
        
        try render_stencil(width: width, height: height, pipeline: "stencil_triangle", bound: triangle_bound, buffer: triangle_render_buffer, output: output)
        try render_stencil(width: width, height: height, pipeline: "stencil_quadratic", bound: quadratic_bound, buffer: quadratic_render_buffer, output: output)
        try render_stencil(width: width, height: height, pipeline: "stencil_cubic", bound: cubic_bound, buffer: cubic_render_buffer, output: output)
        
        return _bound
    }
