Add o3 optimizations