Initial version of incremental hash