Afghanistan remains one of the most heavily mined countries in the world .