fixed upsample stencil test