Spatial Scheduling and its Application to Shipbuilding