Optimization
Working fully
Merge pull request #2 from SHTheSuper/optimize

Optimize