Reducing Defects in Complex Foam Structures with N