Reducing number of kernels