Trying to change density for each GSP particle, but particle_output.dat file is different

Hello again,

I was wondering if I were have to calculate the length of the z-axis of each individual GSP particle(because there are overlaps between component spheres), like the one I am attaching for reference, do we have a scaling ratio for that as well?
If so, can you please let me know?
Is it similar to the one in this thread - How are the heights of the SQP particles created, are determined? - #21 by cgw

Thank you so much, again!