Seamless pattern of intersecting polygons n2