fast basic merge of time series