implemented closed pl trimming w/ trim point on int segs