first shot for adaptive nfactor calculation