Global optimization of an entire neutron guide hall