using % to interate over triangle indices