diff --git a/buggy.py b/buggy.py
--- a/buggy.py
+++ b/buggy.py
@@ -16,7 +16,7 @@
             nxt_length = check_size(length, side, area[i])
 
             if nxt_length == 0 and n_rem:
-                return 0
+                continue
 
             if nxt_length >= 0:
                 if not n_rem:
