All the changes but this one resolve C++11 narrowing errors (http://www.stroustrup.com/C++11FAQ.html#narrowing). This change is needed to use `iota`.