Fixed assigning correct id to inner surface. Solves issue with inner
surface being remeshed along with caps, resulting in a final unconnected
mesh