A technique to avoid leg-length discrepancy in total hip arthroplasty.