[mini] Fix for the conversion of polyhedra with degenerated top/bottom.
Top/bottom surfaces are not generated for degenerated polyhedra, so we need to be careful not to try to use them.
Top/bottom surfaces are not generated for degenerated polyhedra, so we need to be careful not to try to use them.