Thanks for the replies.
The 8"x2" is for the sides and ends of the beds, not the legs. The bed is only going to have one leg as the head end and one side are going to be bolted to the walls. So just a leg (4"x4" or something) at the floating corner if you see where I am coming from.
Is...