NASCAR all-star race to be run in 5 segments