iteration to hdf5 build