Clearance measurement of slewing bearing during assembly