add all possible optimizations

can't use -O2, but can use everything -O2 uses...