the max window size of the rid is 192.
If the rid dim is greater than 192, downsample rid dim by the
ratio.