increase divisor growth speed, remove unnecessary (int) conversion