use N=5000