solve compile problem， add split segment test