Use NOD for NOK instead factorization method