corrected map orientation with respect to the grid[][] array spec