Prepared IG algorithm