High efficiency machining of the gate valve-facing of the flanges