Can you explain a time you had to optimize a system or algorithm for better performance in an engineering project?