restraints on line segments