get tooth index