Rehabilitation of IDPs to take years