set epsN=p/n instead of p/N