Effect of extrapolation length on the phase transformation of epitaxial ferroelectric thin films