I typically only use foam for my DIY glass tanks that directly contact the stand. Glass tanks encased in trim or acrylics generally do not require foam imo unless recommended by the manufacturer for some reason. I've only seen a couple brands of rimless glass tanks that include a "leveling mat" with their tank.