multi pass profiling