Two construction workers perched on an I beam, assembling a building frame.
The men are sleeping in a bed.
One cannot be sleeping and assembling simultaneously.
Workers do not assemble a building while sleeping.
while assembling a building frame one cannot  be sleeping in a bed