this code is stupid
1. perform mul by 1000 only once
2. reuse the result

# Besides
Rewrite 64bit unsigned integer division once the solution for the operation has been found. (replacement of mathlib.c)