basic editing of polylines & polyline simplification on insertion