models.py: time series speedup