Lose the slow import functions
Reformat

Also it seems `5 * i` is faster in PHP than `(i << 2) + i`
BCMath is so terrible, it's not even worth keeping for reference