added the feature to limit the number of tuples blast from input generator