iteration: added checking ranges before calling callback.
stress: added check iteration: out of ranges, part of ranges and full range.