begin optimization work