how does phytomining work