dar mil vueltas

Etymology
lit. 'to give a thousand turns/laps/spinning'.