Improve middle line modifier