Optim : SamplerState[] instead of Dictionary<int,SamplerState>