debug each merge step