predict.py - move constants out of main
Determining intervals: last interval >= 100 always