Compact NAND Gate (vertical)