TY again Rokas for helping

But I still have trouble making my wall.
Here is my wall:

And this is the problem I get, the geometry bends on the main object:

All my vertices are corners except 2 of them that are bezier-corners for the 2 posts:

Any solutions?