added dseg constraints