you get them little rolls of foam that have the sticky stuff on them
i simply put a doule layer on all the gaps, as in twice the width not one over the other, and it worked a treat
mind that you don't make the gap too tight as the door own't close properly afterwards without a BIG shove