faster TID calculation (0.1% faster)