optimise InitSitemap
reduce lookups in GetCmsParents by caching parents