add options to optimize with -o3
add option to optimise to -o3 - p2