STEP 6 optimize and discussion