move recursion check up to fix tectype regression
move recursion check up to fix tectype regression

dom96/Nim,russpowers/Nim,dom96/Nim,russpowers/Nim,dom96/Nim,dom96/Nim,russpowers/Nim,dom96/Nim,tulayang/Nim,tulayang/Nim,russpowers/Nim,russpowers/Nim,russpowers/Nim,dom96/Nim,tulayang/Nim,dom96/Nim,tulayang/Nim,tulayang/Nim,russpowers/Nim,tulayang/Nim