set nsample=100000