[Bug 104696] line_smooth in the endpoints is not take effect