small performance tweaks
bug fix(perserving isMerged when updating a node's children) & big performance improvement (avoid unnecessary score computation when picking best tansformation)
performance tweaks