add class TripletToRowCompressedForm