MAX_INTERVAL
#define MAX_INTERVAL 3600 /* One hour should be enough - pure estimation */
#define MAX_INTERVAL 1000