Stc tracking algorithm