Optimization of traffic signal change interval