Couldn't the bed be made with three legs supporting a torsion box type table? It may not be level but any twisting moment would be eliminated.