optimized evals.nim a bit