Added support for an iteration status variable when processing each blocks