Construction of condensation polymer with two head / tail atoms

Hi everyone, 

is there a possibility to select two head / tail atoms when defining the repeat unit of a condensation polymer ? 

Thanks!