Why do you use here a static amount of mutexes? Whats when there are more than 1000 mutexes to store?