rings of the input polygon are now closed in the isr method

perhaps the triangulation should do the same? It's more elegant than
what is there now