Improvements to the performance of downscale vectorization.