On the preprocessing of laser ranging data