Islamic State morphs and grows in Pakistan, Afghanistan