finish each hdf gen