The stability of ferroelectric phase near critical size