Making curve segment to handle same kind of value thant the curve they belongs to
minor changes
Trying to build curve segment none and linear without success