an excavation is used for putting the foundation of a house in