Hi,
I am having a really hard time trying to build foundation.
I want to surround the iron ore area with foundations but no matter how I try to place them I get this error.

What exactly am I doing wrong?
I tried to use the flat roof instead but then I have a huge gap which I dont know how to cover...