Adding linear curve segment