better line splitting