Adjusts max limit for finding factors.