added distance check on poly erase to reduce poly updates and verts