virtualdomtreebuildingalgorithm