Let $T_1$ be a triangle with sides $3011,3012,3013$. For $n\ge1$, if $T_n=\triangle ABC$ and $D,E,F$ are the points of tangency of the incircle of $\triangle ABC$ to the sides $AB,BC,AC$, respectively, then $T_{n+1}$ is a triangle with side lengths $AD,BE,CF$, if it exists. What is the perimeter of the last triangle in the sequence?