removed surface creation from closed polylines