INTEGRATED MESH

Complete the routine