Space-Time Optimization