Help! My 4 week old is so constipated!

Do
He's crying so much! He's formula fed. I tried the thermometer trick, but it only helps a little. I bought him laxatives, but that doesnt seem to help, even though I gave him the maximum amount. What else can I try?