get the position of the highest local root
saves inner hash