Added a new way to generate queries of specific sizes.