Corrected box handling if not starting at box 1