Multiple layout changes and restriction of the number of domains to search