Sensor-based optimization of terrestrial laser scanning measurement setup on GPU