updated PatternArea constuctor with const