add wrapper object for point2point constraint