base, head are now full 40-digit hashes

both as used in the implementation and in the output