using indices for flat hash access, still getting high access times