Improvement of {eval} part of program by reducing the numbers of repeated iteration with eval. Using lambda operator