Debug: first_branch_id can be 0 when scale_factor = 1 with -p option.