contour simplified to max 100 points