One more speed optimization in STL.pm
Memory and speed optimization: only study meshes when needed