change the polygon(containes only a nodes)