Added profiler code to MeshLinesGenerator