I need to find more space so I can increase the size of a 12" base cabinet when I replace my cabinets. The only place I can get extra inches is to adjust the size of the walls of the adjacent pantry (40 1/2" wide by 28" deep) Being strapped for space, I want to retain as much of the interior dimensions as I can. (30 1/2") Each wall measures abour 4 1/2 ". My question is can I rebuild these walls by turning the 2x4's sideways which would save me an additional 2 inches each? They are not load bearing walls. Thanks