Removed unused routine
Sped up genhash