Designing flexible U-shaped assembly lines