Text this: Minimizing tool switching and indexing times with tool duplications in automatic machines.