In whatIsLocalIndex I was trying to do index mod chunk size, and the chunk size was grabbed from IdMapChunk but we need not do that because IdMapChunk will give the extra size which mess up the local index so index mod (arraySize/localeSize) is ok for now