flipping > to >= works quite often though!
I was about to say a lot of algorithms or invariant bugs for me are slight mistakes at an edge of something
"There are 2 hard problems in computer science: cache invalidation, naming things, and off-by-1 errors."