Approximating call-scheduling makespan in all-optical networks