diff --git a/segmentDivider.m b/segmentDivider.m
index 820d9d844d203c0c2def78f484e66dbe90913dde..12971d905487219e893df6c035ce35966c7154f3 100644
--- a/segmentDivider.m
+++ b/segmentDivider.m
@@ -160,7 +160,11 @@ function Hoft = segmentDivider(time0, time1)
                 upperPre = 0;
                 intoPre = 0;
             end
-            if ii < numberOfJobs
+            if ii < 0 % numberOfJobs 
+                % numberOfJobs is a conversative option that will
+                % avoid any frame with two segments;
+                % if the check is against zero,
+                % the frame is given to the job that ends there.
                 lowerPost = 128*floor(T.list{1}(ii+1)/128);
                 intoPost = 128 - (T.list{1}(ii+1) - lowerPost);
             else