Removed all kinda weird checks for agat's kernel so we get some more speed