Controling compression of cel file

Hi,
I have empty cell file.
I would like to create hundreds of cell in a loop.
After creating my cell element, I use AttachedCellLibrary.AddCell function in order to put newly created cell into .cel file.
Everything works fine until now.
My problem is evertime cell created and put into cel file, cell file is compressed for each loop.
In the beginning performance still ok.
but after creating hundreds of cell, compression makes performance slower

Is there any suggestion that I can control compression of cel file?
So that I let compression of cel file after 100 loops instead for each loop.

Kind Regards,
Olcay Ebcin