In this situation, I've always used 1/4" or 5mm Luan over the entire area and put the new flooring on that. Worked out great every time. Some might say just put a plastic sheet over the area and go with that, but this is not a job you want to do over and you want it to last for many years. Go with the Luan even though it's a little more work on the front end.