Machining of small and large parts in CNC