successive function values within tolerance limit