Faster divisor counter