reuse of vector in Compound