Optimized kernel for Mecha