Effects of ergodization on plasma confinement in JFT-2M