add link constraints