Small changes on the Hash loading function
Removed the second loop, simplified repeat handling
Not sure, what I may have changed