Rattle can and two part foams are pretty unreliable from my encounters with them.
My last use of two part went well though the following day it had deteriorated and was more the consistancy of Angel food cake. Had to tear it all out.
I have used pool noodles for years and they are hard to beat