Optimal design of N-UU parallel mechanisms