Text this: Algorithms for stem mapping by means of terrestrial laser scanning