update init end_of_tiles_x