Design of compliant joints for large scale structures