Are you applying the UDF on huge number of cells?