Optimization

Scan the code