To reach an unexpected extent in doing something.
To do whatever is necessary, including extreme or unusual actions; to go to extremes.