Calculating the track marker length