Problem in building a polymer using its monomer

Hello,

I  want to build a polymer using its monomer. What I have in mind  is a  polymer that one of the head or tail atom is not a terminal atom in the  monomer (see figure). Therefore, when I define the Head and Tail atoms  (A and B), and want to build the polymer using its repeating unit, I see  this error:

"Unable to define head atom. The selected atom must be a terminal atom"

What is the soluction to build such polymers.