It is extremely important to build a series of 3 horizontal buildings in Fallout Shelter. Doing so will merge the three (or two) rooms and grant the building a strong resource bonus! Then, upgrade the merged rooms!
Tip: If you upgrade a single room, each subsequent room will NOT merge with the upgraded room until they are upgraded themselves. Do not upgrade until you know you will not merge a building or if you have run out of horizontal room!