max_paths_num 1024 --> -1