Or pass index on the stack instead of a field if it needs to be thread safe