[PRX-107] use hash maps in merge TCs