comprising a combination of vertical and lateral transistors