updated elapse_seed issue

removed hard coding of time series index