added button to simplify polygons