strtol could return negative values, leading to various error messages, mainly "non-monotonically increasing dts".