Profiling truncation code - WIP