modified merger
added cutoff to computing profiles