Multibody contact problem including friction in structure assembly