Replaced magic number 128 by 2*H_LEN.
Added some meta data