[PATCH 0/8] Fix infinite loop for END_OPEN figures with coincident last/first vertex