Adding in the domains and random search on the interior box