- bug fix in curves (the subcurve function return bad path in case of start and end both on the same segment)