more work on convolution loop