[#4691] Optimizations to building LCDs and fixes to SVN.compute_tree_new

Signed-off-by: Cory Johns <johnsca@geek.net>