optimizeResources option is true by default.