Rim joist and subfloor