faster indexing for possible durations