hashCode for worm