How to patch active plasma and collisionless sheath: A practical guide