Let’s say that a house was filled with straw and there wasn’t a space of a handbreadth between it and the rafters. If there’s ritual impurity in the straw, utensils opposite the exit are rendered unclean. If there’s ritual impurity outside the straw, then utensils inside it remain clean if they’re in a space of a cubic handbreadth. If this isn’t the case, they are rendered unclean. If there’s an opening of a handbreadth between the straw and the rafters, then in either case the utensils are rendered unclean.
If a house was filled with dirt or pebbles and the owner annulled (i.e., decided not to remove) them, and similarly, a heap of produce (that the owner annulled) or a mound of pebbles like the mound of Achan (executed in Joshua chapter 7), then even if the impurity was by the side of the utensils, the uncleanliness extends upwards and downwards.