Multisite change from subdirectory to subdomain

I have configured my Multisite. Since i have problems with Domain Mapping, which i think only support subdomain, i want to change my Multisite from subdirectory to subdomain. I already have few site under my main site. How do i change it without breaking any settings.