add double reg injection option: window_len, which is used to tell the injector the interval cycle range