reduce dom