On the evolution of heavy-metal tolerant populations in