r8829: Generate hash rather then a lot of globals.