for lateral devices with structured layout for source or drain region