fixed variable hashing to avoid touching uninitialized data