I have made this using the C4D built in softbodies simulation. I used a cube with collider and placed the hexahedron spheres inside. Cloth modifier has been applied to all and I adjusted target length over 20 frames. I did not used Baloon pressure at all as it can be unpredictable.