md: Removing num_sector and replacing start_sector with end_sector