A construction of certain weak colimits and an exactness property of the 2-category of categories