public int size() {
        final long s = state.get();
        int size = 0;
        for (int i = 0; i < 32; i++) {
            if (get(s,i) == FULL)
                size++;
        }
        return size;
    }