base64: check sizes