How to change the render size in middle pass in PostProcessing

For example, I want to render the 400 x 400 in renderPass first. then I use this in shaderPass, but I want to change the render size to 500 x 500.

I resolve it. I set the 400x400 in renderTarget and set 500x500 in main render

new EffectComposer(this.mainRenderer, this.viewsRenderTarget)