Support beams fix

So beams were disabled because people could spam infinite-long bridges and stuff.
But what if a foundation gave not 100 stability but 101, and a beam would add 19, so you could only place 1 extra ceiling otherwise not placeable without a beam?
That way ensures that only one beam can be used per foundation\wall and would allow a proper use of this awesome mechanic to help out some builds out there.