optimized transitive closure calculationnow used lazy evaluation. This improved stack trace injection performance (see #743) (commit: d5a6fd4)