I would like to insulate the area on top of the sill plate and against the rim joist in my basement. It will be area in between 16" o.c. ceiling joists and parallel to joists at ends of room. I am thinking rigid foam insulation cut into appropriate sized panels. Should I also use spray foam around edges? Any ideas? Thanks.