Effects of plasma surface layers on the efficiency of plasma flow switching