Compact NAND Gate