Split merge.py into several files and get B_s0 combination working