be able to divide with different division bases.
still has some bugs, but 32768 seems to be a reliable base