Constipation remedies

I’m 29 weeks pregnant and was given iron supplements to take three times a day as my blood work showed I’m anemic. However I was already really constipated before being prescribed these pills and now it’s worse. I was taking miralax before but now it doesn’t seem to be working. Are there any remedies or any other laxatives that worked for you during pregnancy to help relieve constipation ?