Hashv4 with minor updates