modify the IteratorCompositePatterns