But he says Afghanistan remains the world 's biggest producer of opium , the basis of heroin .