Design multithreaded CPU convolution | IBM Interview Question