On the integral closure of ideals