Fixing RAM issues while calculating scale dict
This MR adds the generator for the calculation of the scale dicts. Also, for the Scaling
class, unit tests are added for the helper functions.
This MR adds the generator for the calculation of the scale dicts. Also, for the Scaling
class, unit tests are added for the helper functions.