Linear segment contrains are working.