How can the flow detection speed of a target flow switch be optimized?