speeding up computation of lambda tuesday