Commented out one line in extractKernelSlice