time series of various lengths