Recombine hash battle

Rewrite source hash to new representation