I believe that condition should be ```if (cn > 4 || cn == 3)```, because we have a generic kernel that works for all depth and commonly used channels (except 3)