[dynamic] implement dynamic merge WIP