replace homegrown hashcode, works at same speed as built-in