computing pilot size from workload