solving high index roots