`Next wave' of terrorists taking shape