Use an internal memeber variables to calculate a global index from a local one to reduce an overhead.