I am building a 12 x 18 shed and would like to insulate the floor with rigid foam. I was thinking of nailing a 2x4 on its flat across the bottom of 2x4( on edge) joists creating an upsidedown 'T' which would give me nailing surfaces for plywood, creating a sealed cavity for insulation under the floor. This would technically create joists that are 2x6 in thickness. If I nail every 6", would this be structurally sound?