merge_n THRESHOLD = 100000, prep for tests and profiling