If you bind the application again in your new environment, it will use the optimization class specified in the BIND command.
If the optimization class is not specified in BIND, then the value of DFT_QUERYOPT db config parameter will be used. You can see the QUERYOPT column in syscat.packages to determine the optimization class used for the package.