Optimized math usage