Add sameshape relation