separates indexes between processes/threads