Creating the medial axis transform for billions of lidar points using a memory efficient method