Add [0, n-1] analysis for timebags