randomsample

fixed off-by-one error