Improved header identification for lines at an angle