Added profiling information for contractions