public int CompareTo(CurveKey other)
 {
     return(position.CompareTo(other.position));
 }