How is total hip replacement preformed as reference to osteonecrosis?