Also if you want to improve the purity of pumpkins best and easy way is continue to plant the pumpkins in pots

yes you will not get a big yield like in fields but you pumpkin purity will increase significantly faster.. (of course with pure water and humus )