Allow to specify window size for downscaling