only check export size if actually doing bitstream export