adjust enumeration-based generator to make terms that are less
likely to consume all available memory