Design of machine tool, of cnc machine