change max_points parameter of line track with step; fix a number of bugs with stacked-line-track