complete the histogram based tracker