diff --git a/fordulo_3/Doboz/DobozFeladat/.vs/DobozFeladat/CopilotIndices/17.13.431.34963/CodeChunks.db b/fordulo_3/Doboz/DobozFeladat/.vs/DobozFeladat/CopilotIndices/17.13.431.34963/CodeChunks.db
index 44a80c0..36058fe 100644
Binary files a/fordulo_3/Doboz/DobozFeladat/.vs/DobozFeladat/CopilotIndices/17.13.431.34963/CodeChunks.db and b/fordulo_3/Doboz/DobozFeladat/.vs/DobozFeladat/CopilotIndices/17.13.431.34963/CodeChunks.db differ
diff --git a/fordulo_3/Doboz/DobozFeladat/.vs/DobozFeladat/CopilotIndices/17.13.431.34963/SemanticSymbols.db b/fordulo_3/Doboz/DobozFeladat/.vs/DobozFeladat/CopilotIndices/17.13.431.34963/SemanticSymbols.db
index 8ab1e14..a536e8a 100644
Binary files a/fordulo_3/Doboz/DobozFeladat/.vs/DobozFeladat/CopilotIndices/17.13.431.34963/SemanticSymbols.db and b/fordulo_3/Doboz/DobozFeladat/.vs/DobozFeladat/CopilotIndices/17.13.431.34963/SemanticSymbols.db differ
diff --git a/fordulo_3/Doboz/DobozFeladat/.vs/DobozFeladat/FileContentIndex/05e861aa-97eb-4ec8-9415-0cc7daa02da3.vsidx b/fordulo_3/Doboz/DobozFeladat/.vs/DobozFeladat/FileContentIndex/05e861aa-97eb-4ec8-9415-0cc7daa02da3.vsidx
deleted file mode 100644
index 787cd57..0000000
Binary files a/fordulo_3/Doboz/DobozFeladat/.vs/DobozFeladat/FileContentIndex/05e861aa-97eb-4ec8-9415-0cc7daa02da3.vsidx and /dev/null differ
diff --git a/fordulo_3/Doboz/DobozFeladat/.vs/DobozFeladat/FileContentIndex/70ee4213-4ec3-45f0-9552-8daa945c6a47.vsidx b/fordulo_3/Doboz/DobozFeladat/.vs/DobozFeladat/FileContentIndex/70ee4213-4ec3-45f0-9552-8daa945c6a47.vsidx
new file mode 100644
index 0000000..88852ff
Binary files /dev/null and b/fordulo_3/Doboz/DobozFeladat/.vs/DobozFeladat/FileContentIndex/70ee4213-4ec3-45f0-9552-8daa945c6a47.vsidx differ
diff --git a/fordulo_3/Doboz/DobozFeladat/.vs/DobozFeladat/v17/.suo b/fordulo_3/Doboz/DobozFeladat/.vs/DobozFeladat/v17/.suo
index ab2b8fa..1d70032 100644
Binary files a/fordulo_3/Doboz/DobozFeladat/.vs/DobozFeladat/v17/.suo and b/fordulo_3/Doboz/DobozFeladat/.vs/DobozFeladat/v17/.suo differ
diff --git a/fordulo_3/Doboz/DobozFeladat/.vs/DobozFeladat/v17/DocumentLayout.backup.json b/fordulo_3/Doboz/DobozFeladat/.vs/DobozFeladat/v17/DocumentLayout.backup.json
index d9cceb1..40440f0 100644
--- a/fordulo_3/Doboz/DobozFeladat/.vs/DobozFeladat/v17/DocumentLayout.backup.json
+++ b/fordulo_3/Doboz/DobozFeladat/.vs/DobozFeladat/v17/DocumentLayout.backup.json
@@ -28,9 +28,10 @@
               "RelativeDocumentMoniker": "Box.cs",
               "ToolTip": "E:\\H\u00E1zi\\13.oszt\u00E1ly\\Neumann_Verseny\\fordulo_3\\Doboz\\DobozFeladat\\Box.cs",
               "RelativeToolTip": "Box.cs",
-              "ViewState": "AgIAADEAAAAAAAAAAAAwwFkAAAAZAAAAAAAAAA==",
+              "ViewState": "AgIAAEAAAAAAAAAAAAAwwEoAAAAgAAAAAAAAAA==",
               "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
-              "WhenOpened": "2025-03-15T09:00:39.48Z"
+              "WhenOpened": "2025-03-15T09:00:39.48Z",
+              "EditorCaption": ""
             },
             {
               "$type": "Document",
@@ -40,7 +41,7 @@
               "RelativeDocumentMoniker": "Program.cs",
               "ToolTip": "E:\\H\u00E1zi\\13.oszt\u00E1ly\\Neumann_Verseny\\fordulo_3\\Doboz\\DobozFeladat\\Program.cs",
               "RelativeToolTip": "Program.cs",
-              "ViewState": "AgIAACgAAAAAAAAAAAAcwE8AAABOAAAAAAAAAA==",
+              "ViewState": "AgIAACgAAAAAAAAAAAAAAEgAAAAAAAAAAAAAAA==",
               "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
               "WhenOpened": "2025-03-15T09:00:10.429Z",
               "EditorCaption": ""
diff --git a/fordulo_3/Doboz/DobozFeladat/.vs/DobozFeladat/v17/DocumentLayout.json b/fordulo_3/Doboz/DobozFeladat/.vs/DobozFeladat/v17/DocumentLayout.json
index 87978e4..a97f682 100644
--- a/fordulo_3/Doboz/DobozFeladat/.vs/DobozFeladat/v17/DocumentLayout.json
+++ b/fordulo_3/Doboz/DobozFeladat/.vs/DobozFeladat/v17/DocumentLayout.json
@@ -28,9 +28,10 @@
               "RelativeDocumentMoniker": "Box.cs",
               "ToolTip": "E:\\H\u00E1zi\\13.oszt\u00E1ly\\Neumann_Verseny\\fordulo_3\\Doboz\\DobozFeladat\\Box.cs",
               "RelativeToolTip": "Box.cs",
-              "ViewState": "AgIAADEAAAAAAAAAAAAwwFkAAAAZAAAAAAAAAA==",
+              "ViewState": "AgIAAEAAAAAAAAAAAAAwwEoAAAAgAAAAAAAAAA==",
               "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
-              "WhenOpened": "2025-03-15T09:00:39.48Z"
+              "WhenOpened": "2025-03-15T09:00:39.48Z",
+              "EditorCaption": ""
             },
             {
               "$type": "Document",
@@ -40,7 +41,7 @@
               "RelativeDocumentMoniker": "Program.cs",
               "ToolTip": "E:\\H\u00E1zi\\13.oszt\u00E1ly\\Neumann_Verseny\\fordulo_3\\Doboz\\DobozFeladat\\Program.cs",
               "RelativeToolTip": "Program.cs",
-              "ViewState": "AgIAACgAAAAAAAAAAAAcwD0AAAAwAAAAAAAAAA==",
+              "ViewState": "AgIAACgAAAAAAAAAAAAAAEoAAAA9AAAAAAAAAA==",
               "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
               "WhenOpened": "2025-03-15T09:00:10.429Z",
               "EditorCaption": ""
diff --git a/fordulo_3/Doboz/DobozFeladat/Program.cs b/fordulo_3/Doboz/DobozFeladat/Program.cs
index d56a95a..6a08957 100644
--- a/fordulo_3/Doboz/DobozFeladat/Program.cs
+++ b/fordulo_3/Doboz/DobozFeladat/Program.cs
@@ -71,12 +71,8 @@ namespace DobozFeladat
                 Boxes.RemoveAll(x => x.ReadyForPackaging());
             }
 
-            int length = 0;
-            foreach (var Box in Boxes)
-            {
-                length += Box.PrintBoxRecursively().Count();
-            }
-            Console.WriteLine($"Maximum length needed: {length}");
+
+            Console.WriteLine($"Maximum length needed: {MaximumLength}");
             Console.WriteLine($"Total box place needed: {TotalBoxPlaceUsed}");
 
         }
diff --git a/fordulo_3/Doboz/DobozFeladat/bin/Debug/DobozFeladat.exe b/fordulo_3/Doboz/DobozFeladat/bin/Debug/DobozFeladat.exe
index 59b8b2c..6d8eb94 100644
Binary files a/fordulo_3/Doboz/DobozFeladat/bin/Debug/DobozFeladat.exe and b/fordulo_3/Doboz/DobozFeladat/bin/Debug/DobozFeladat.exe differ
diff --git a/fordulo_3/Doboz/DobozFeladat/bin/Debug/DobozFeladat.pdb b/fordulo_3/Doboz/DobozFeladat/bin/Debug/DobozFeladat.pdb
index 9a2719f..7bd03c3 100644
Binary files a/fordulo_3/Doboz/DobozFeladat/bin/Debug/DobozFeladat.pdb and b/fordulo_3/Doboz/DobozFeladat/bin/Debug/DobozFeladat.pdb differ
diff --git a/fordulo_3/Doboz/DobozFeladat/obj/Debug/DobozFeladat.exe b/fordulo_3/Doboz/DobozFeladat/obj/Debug/DobozFeladat.exe
index 59b8b2c..6d8eb94 100644
Binary files a/fordulo_3/Doboz/DobozFeladat/obj/Debug/DobozFeladat.exe and b/fordulo_3/Doboz/DobozFeladat/obj/Debug/DobozFeladat.exe differ
diff --git a/fordulo_3/Doboz/DobozFeladat/obj/Debug/DobozFeladat.pdb b/fordulo_3/Doboz/DobozFeladat/obj/Debug/DobozFeladat.pdb
index 9a2719f..7bd03c3 100644
Binary files a/fordulo_3/Doboz/DobozFeladat/obj/Debug/DobozFeladat.pdb and b/fordulo_3/Doboz/DobozFeladat/obj/Debug/DobozFeladat.pdb differ