Move IV structure to variable.h
Support first IV write inline