Find top dead center with a dial indicator then see if the piston has any rock or movment on the wrist pin. Measure the closest point to the head with a depth mike. Measure the thickness of a crushed or used head gasket that you will be useing. If the piston is down from the deck of the block add that to the gasket thickness, if it is sticking out of the block then subtract it.