I want to fit glb model inside the plane mesh bounding box

Anyone please help with this situation. I want to remove the gap and perfectly fit my model inside the container plane
all the model inside the list have same origin, scale, pivot points (below)

Here is playground

You probably want to scale the plane according to each model’s dimensions, no?

Thank you for your response.
Using the bounding box information of the plane and the GLB model, I want to precisely fit any GLB model within the plane mesh, which I imagine to be a package or container. I’m almost there, but there are still some gaps with the other model, as the photographs demonstrate.

I think it depends on the model aspect ratio, if they’re different they will not fit the ground the same way.

also another way to avoid the complex computing using the bounding box

const SIZE = 20