use instanceMap to reduce CN create time