Optimizes CMS nodes building.