Utility for finding the root of an instance