termination numbers optimized