declare edge buffer
correct upscaling process