Capture: init require ranges

Signed-off-by: Elsk <jacky8hyf@gmail.com>
Capture: initialize ranges during init

Signed-off-by: Elsk <jacky8hyf@gmail.com>