liáng​kǔ​yòng​xīn

to give much thought to something