Krait Optimizations (thanks cm team)