Optimize `%`
Optimize `C`
Optimize `D`
Merge pull request #28 from hazzik/optimize-percent

Optimize `%`, `C` and `D`