Hi there,
Looks ok. But the length is longer than 1000 every tick?
Have you tried to PrintText the length or the locations before the Branch to figure out the results?
Because if the results are correct then something else is wrong. Do you get any error in the log?