Changed rehash to test hash 3 and stuck in infinite while loop because hash 3 borked