Enter exactly 21 bits. The app follows your rule set and subtracts 1024 × 1024 at the end. A single disambiguation bit is always appended as the LSB; the UI shows the total length used for the compressed payload (binary of the value before subtract) and trial statistics will use that same total length.