Cosmological constant and the use of cutoffs