loop optimization

Click loopoptimization-180418113642.pdf link to view the file.