Added edge constraints.