Optimize the DataPointSegment deserialization