tail sample stat
improved tails
begin tail scalar check
polygon creator V1
closed polygons