Performs reduction of lambda with slow method's calls and calculates it optimally.