A Caving-degree based Greedy SchedulingAlgorithm for the Three-dimensional Space-Time Optimization Problem