Change data type of convolution to more general uint