Straightening lines for Sections & Rails