As it is now, resulting montages are 4xn fields wide. I think their width should instead be `floor(sqrt(#images_generated))`.
As it is now, resulting montages are 4xn fields wide.
I think their width should instead be
floor(sqrt(#images_generated)).