[Nifty-Controls] Improved performance to create containers