@alexcrichton it looks like this iterates over all the bits yielding `false` for 0 and `true` for 1, so it always traverses `rem` items.