Added rounding of lines