Do not hard code number of pictures per row in the internal representation; use macros instead.
This number is increased from 16 to 128 in order to avoid coordinate overflows for puzzle sets with large number of pictures if a large picture size is selected.