make panels from pieces