Making of localized buried regions