Do you have the same problem using the largest cog and all your chain rings?
Ditto smallest cog........?
How many rings?
With the chain on the largest cog and chain ring, insert 2 skinny screw drivers or similar about 4" apart through the chain links.
Squeeze them together, keeping them parallel.
How many "excess" links can you make?