emulate quads with indexed triangles