Usually when/if in a glass enclosure if the animal start squeezing itself between the hide and the enclosure it is for added security, which means the hide may not provide the security that your animal is looking for.

Ideal hides are tight with all sides touching your BP's body, just like a shell on a turtle's back (they are looking for the same tight fit)