Influence of Segmentation and Ambipolar diffusion on MHD Nonequilibrium Boundary Layers