nsamples