public ArrayList<Rectangle2D> getFlatRects(Rectangle2D rectangle) {
		if(noChildren()) {
			ArrayList<Rectangle2D> tempRects = new ArrayList<Rectangle2D>();
			for(int x = 0; x<flatRects.size(); x++) {
				tempRects.add(flatRects.get(x));
			}
			return tempRects;
		} else {
			ArrayList<Rectangle2D> tempRects = new ArrayList<Rectangle2D>();
			for(int x = 0; x<propChildren.length; x++) {
				if(propChildren[x].container.intersects(rectangle)) {
					tempRects.addAll(propChildren[x].getFlatRects(rectangle));
				}
			}
			return tempRects;
		}
	}