limit the number of entries per batch