For this, the foundation and gender of the basement are poured with a single monolith. This method is the most reliable, but the most expensive. It is necessary to solve or not to build a basement in advance, then, most likely, it will not work to change anything else.