Important bugfix: grid_t ctor read x and y in wrong order.