allow better and smarter configuration for > 2 nims