Added advanced road segmentation code