Surgery to diagnose and stage cancer