Fixed cube size error with convolution