WallSection ws = new WallSection(this, this.length);
children.add(ws);
}
float[] lengths = pat.getChildPattern(length, OverflowBehavior.SHRINK);
for(int i=0; i<pat.children.size(); i++){
Pattern child = pat.children.get(i);
if(lengths[i] != 0){
for(int j=0; j<children.size(); j++){
WallSection ws = new WallSection(this, lengths[i], child);
children.get(j).children.add(ws);
}