three wire method for thread measurement