Automating plot-level stem analysis from TLS scans