Change regular loop to boost:irange. Code style fix.