Corrected NUMSAMPLES.