Preoperative assessment of bone deficiency