use min of nfact