Photographic infinity for most purposes is 500X focal length of the lens. Beyond that is still infinity but consider 500X the closest infinity. .
Additional thickness of the foam shouldn't matter unless it interferes with installing the back. You could(if you had another back) measure from the lens flange to the film plane to verify your accuracy.