allow specified sampling size