Data Leak in python wrapper

By examples: simple-real-numbers-serial.py
key-rot grows to 2.6GB, if i changed:
multDepth = 20;
scaleModSize = 50;
batchSize = 16;

In c++ Develop is it about 356MB

Key_mult in wrapper and main development get also different size

@JuriusStep I changed the parameters according to your instructions and ran simple-real-numbers-serial.py. It created key_rot.txt with the size of 365Mb instead of 2.6Gb. Could there be something missing in your instructions?