space reducer working for muliple lines