-O3 optimization and flags