use -O3 for payment generated code