Minor optimization on how many agents to expect