Adding code to find the top faces from the mesh.