unify vector during sparsify or densify