Refactor : Extract method GetMinPrimesFactor