added MaxLongValueAccumulator
changed iteration number handling