Fixed stopping condition for params