finding the location of the root region