auto-trimming number of used quad batches (closes #329)