Try various optimizations