added function for splitting RR and VV to triangles