The number of smaples to consider is now configruazble