fix duplicate squared tiling