enabling the c code for DownsampleFactorMax when st==ds, issue #2196