remove  columns s in otriplets and o in inverse, and s p in data