Initial release, doesn't work for -1 and 1 divisors