When they make a fiberglass boat the make a shell in a vacuum mold then they lay the inner and outer shell together. Once they are in place they pour that foam in the shell for boyancy and to make it impossible to sink them. It has NOTHING to do with structure, and the fact that they pour it in after the boat is together, they don't lay the glass on top of foam.