Expand the pattern