fine tune -O3 optimizations: -fno-unswitch-loops -fno-inline-functions