Construction of the bed frame