To prevent such an incident, you need to carefully check the geometric dimensions of the foundation with the design documents that the manufacturer of the structures of your future house gives.