don't try to add final datapoint to an empty vector