Novel design of foam core junctions in sandwich panels