more image convolution optimization