improved positioning of constraint symbols on lines