Dynamic Task Decomposition for Probabilistic Tracking in Complex Scenes