Added a constrainToRootDomains option