The trench may be filled with doped polysilicon to provide an electrical contact with the substrate where desired, or in other applications, the trenches are filled with a dielectric insulating material, such as intrinsic polysilicon or silicon dioxide to provide additional isolation between devices.