Restructure lines