replace divisions with domains