Structure and mask design for 3D RESURF Schottky diode