escape and compress timeperiod