The tracker works with two objects and falls apart with six: every time two tracks compete for one detection, the one that goes first wins and the other is left with something far away.
You will size the gate, make the assignment optimal, and gate with each track’s own uncertainty.