The plasma–sheath matching problem