A note on zeros of nonlinear systems: inferring sliding surface selection from the zero-dynamics algorithm