As interation and nesting depth of iterations can both create large amounts of output, both may be limited by the invocation parameters xlimit and dlimit. See this page for details on how to set those for class invocations.