A semi-interactive algorithm to reconstruct road and sidewalk surfaces using point cloud