A method for the Dyson sphere global trajectory optimization