join 3 lengths