Measuring the height of surveying instrument