A modified version of make_bonds that can use subchains.