A dynamic analysis of the agglomeration and performance relationship