adding numseg in layout
adding setvnodes in Polygon