Best Brand of Diapers To Prevent Leaks

Amber
I have been EBF for almost 4 months now. I started off using the brand PAMPERS and now I'm using Huggies. Since I have been using Huggies my daughter's poop get all out the sides of the diaper staining her onesies, blankets or wherever she's laying or sitting. What is a good brand to use to prevent that?