Reducing number of resource set iterations