changed finalMeshTerm filtration line to be multiple lines to reduce confusion