Removed iv reinitialization