The foam extenders will help you eliminate the gaps between the frame and the mattress. They can be used to fill both horizontal and vertical gaps without throwing your budget in disarray.