Repairing short underflow issue in iterators

If the bitmap had Short.MAX_VALUE containers, the iterators would throw java.lang.ArrayIndexOutOfBoundsException: -32768 instead of returning `false` from `#hasNext`