An alternative tracking algorithm with batch processing