for (let j = 11; j >= 0; --j) {
        if ((leftValue & (1 << j)) !== 0) {
          binary.set(accPos);
        }
        accPos++;