@NotNull
  private static Map<Integer, TraceElement> onlyFiltered(@NotNull Collection<TraceElement> afterFilter) {
    return makeIndexByTime(afterFilter.stream());
  }
@NotNull
  private static Map<Integer, TraceElement> onlyFiltered(@NotNull Collection<TraceElement> afterFilter)