Segment
	Changed how start and end of segment is calculated
Poly
	Changed how segment position is calculated