Smarter domain split logic