Struggling to have smooth trail renderer, it is jagged

My trail renderer looks like this, i dont know why