diff --git a/Applications/Utils/ModelPreparation/PartitionMesh/NodeWiseMeshPartitioner.cpp b/Applications/Utils/ModelPreparation/PartitionMesh/NodeWiseMeshPartitioner.cpp
index 4cf92f0ecfc03e2cbc745cfe54f03e06d1e4cbc8..9fc76aac8b3bd320a5dd5a88ba8a98dc582a036a 100644
--- a/Applications/Utils/ModelPreparation/PartitionMesh/NodeWiseMeshPartitioner.cpp
+++ b/Applications/Utils/ModelPreparation/PartitionMesh/NodeWiseMeshPartitioner.cpp
@@ -110,10 +110,12 @@ void NodeWiseMeshPartitioner::findElementsInPartition(
 {
     auto& partition = _partitions[part_id];
     std::vector<MeshLib::Element*> const& elements = _mesh->getElements();
+    std::vector<bool> _is_regular_element(elements.size(), false);
+
     for (std::size_t elem_id = 0; elem_id < elements.size(); elem_id++)
     {
         const auto* elem = elements[elem_id];
-        if (_elements_status[elem_id])
+        if (_is_regular_element[elem_id])
             continue;
 
         std::size_t non_ghost_node_number = 0;
@@ -131,7 +133,7 @@ void NodeWiseMeshPartitioner::findElementsInPartition(
         if (non_ghost_node_number == elem->getNumberOfNodes())
         {
             partition.regular_elements.push_back(elem);
-            _elements_status[elem_id] = true;
+            _is_regular_element[elem_id] = true;
         }
         else
         {
diff --git a/Applications/Utils/ModelPreparation/PartitionMesh/NodeWiseMeshPartitioner.h b/Applications/Utils/ModelPreparation/PartitionMesh/NodeWiseMeshPartitioner.h
index 3ddd8f5288e27b483aa6c6b50af824c9186896be..db7fb985b15ea307c4ce53cce4c7c3d9dbcd2ded 100644
--- a/Applications/Utils/ModelPreparation/PartitionMesh/NodeWiseMeshPartitioner.h
+++ b/Applications/Utils/ModelPreparation/PartitionMesh/NodeWiseMeshPartitioner.h
@@ -56,8 +56,7 @@ public:
           _partitioned_properties(),
           _mesh(std::move(mesh)),
           _nodes_global_ids(_mesh->getNumberOfNodes()),
-          _nodes_partition_ids(_mesh->getNumberOfNodes()),
-          _elements_status(_mesh->getNumberOfElements(), false)
+          _nodes_partition_ids(_mesh->getNumberOfNodes())
     {
     }
 
@@ -102,9 +101,6 @@ private:
     /// Partition IDs of each nodes.
     std::vector<std::size_t> _nodes_partition_ids;
 
-    /// Flags to indicate that whether elements are processed or not.
-    std::vector<bool> _elements_status;
-
     // Renumber the global indices of nodes,
     /// \param is_mixed_high_order_linear_elems Flag to indicate whether the
     /// elements of a mesh can be used for both linear and high order