fixed line merge for rings and cross points