Some things can be simplified...
I am bad at maths
Comment compression
Comment
Move require into rare method
Simplify
selfselfself